//
//  SNLandModel.m
//  testmodel_test
//
//  Created by stone on 17/1/15.
//  Copyright © 2017年 stone. All rights reserved.
//

#import "SNLandModel.h"

@implementation SNLandModel


+ (NSDictionary *)objectClassInArray{
    return @{@"result" : [SNLandResult class]};
}
@end
@implementation SNLandResult
-(void)setLandType:(NSString *)landType{
    _landType = landType;
    
    switch (landType.integerValue) {
        case 1:
            self.landTypeName = @"旱地";
            break;
        case 2:
            self.landTypeName = @"水田";
            break;
        case 3:
            self.landTypeName = @"水浇地";
            break;
        default:
            break;
    }
}
@end


